<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::PropertyT&lt; bool &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a02541.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="a02538.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::PropertyT&lt; bool &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Property specialization for bool type.  
 <a href="a02541.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00476_source.html">OpenMesh/Core/Utils/Property.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OpenMesh::PropertyT&lt; bool &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02540.png" border="0" usemap="#OpenMesh_1_1PropertyT_3_01bool_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="OpenMesh_1_1PropertyT_3_01bool_01_4_inherit__map" id="OpenMesh_1_1PropertyT_3_01bool_01_4_inherit__map">
<area shape="rect" id="node2" href="a02497.html" title="Abstract class defining the basic interface of a dynamic property. " alt="" coords="5,5,177,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for OpenMesh::PropertyT&lt; bool &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02539.png" border="0" usemap="#OpenMesh_1_1PropertyT_3_01bool_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="OpenMesh_1_1PropertyT_3_01bool_01_4_coll__map" id="OpenMesh_1_1PropertyT_3_01bool_01_4_coll__map">
<area shape="rect" id="node2" href="a02497.html" title="Abstract class defining the basic interface of a dynamic property. " alt="" coords="5,5,177,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7bf4b00eb41ecf61d4d926f9e513786b"><td class="memItemLeft" align="right" valign="top"><a id="a7bf4b00eb41ecf61d4d926f9e513786b"></a>
typedef std::vector&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>vector_type</b></td></tr>
<tr class="separator:a7bf4b00eb41ecf61d4d926f9e513786b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac542398d98d4f6077fa9d393fd5f751f"><td class="memItemLeft" align="right" valign="top"><a id="ac542398d98d4f6077fa9d393fd5f751f"></a>
typedef bool&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr class="separator:ac542398d98d4f6077fa9d393fd5f751f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c41794ade9a4641203d800e1d40d4f"><td class="memItemLeft" align="right" valign="top"><a id="ac5c41794ade9a4641203d800e1d40d4f"></a>
typedef vector_type::reference&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b></td></tr>
<tr class="separator:ac5c41794ade9a4641203d800e1d40d4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2060a3e8a971464fe5339adcf187c4"><td class="memItemLeft" align="right" valign="top"><a id="a3c2060a3e8a971464fe5339adcf187c4"></a>
typedef vector_type::const_reference&#160;</td><td class="memItemRight" valign="bottom"><b>const_reference</b></td></tr>
<tr class="separator:a3c2060a3e8a971464fe5339adcf187c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1b27461451dcaa9c59c551a10c045fc0"><td class="memItemLeft" align="right" valign="top"><a id="a1b27461451dcaa9c59c551a10c045fc0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PropertyT</b> (const std::string &amp;_name=&quot;&lt;unknown&gt;&quot;, const std::string &amp;_internal_type_name=&quot;&quot;)</td></tr>
<tr class="separator:a1b27461451dcaa9c59c551a10c045fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf51db1f5e7d2b240b7c462c007d143e"><td class="memItemLeft" align="right" valign="top"><a id="abf51db1f5e7d2b240b7c462c007d143e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#abf51db1f5e7d2b240b7c462c007d143e">reserve</a> (size_t _n) override</td></tr>
<tr class="memdesc:abf51db1f5e7d2b240b7c462c007d143e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserve memory for n elements. <br /></td></tr>
<tr class="separator:abf51db1f5e7d2b240b7c462c007d143e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3d3bd87de48b005ee409b34ddde0043"><td class="memItemLeft" align="right" valign="top"><a id="ac3d3bd87de48b005ee409b34ddde0043"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#ac3d3bd87de48b005ee409b34ddde0043">resize</a> (size_t _n) override</td></tr>
<tr class="memdesc:ac3d3bd87de48b005ee409b34ddde0043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize storage to hold n elements. <br /></td></tr>
<tr class="separator:ac3d3bd87de48b005ee409b34ddde0043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e9f0c6f87e2300e761a446f5f7be029"><td class="memItemLeft" align="right" valign="top"><a id="a7e9f0c6f87e2300e761a446f5f7be029"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a7e9f0c6f87e2300e761a446f5f7be029">clear</a> () override</td></tr>
<tr class="memdesc:a7e9f0c6f87e2300e761a446f5f7be029"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all elements and free memory. <br /></td></tr>
<tr class="separator:a7e9f0c6f87e2300e761a446f5f7be029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1317e1151bf6eaffe4d03e039293b899"><td class="memItemLeft" align="right" valign="top"><a id="a1317e1151bf6eaffe4d03e039293b899"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a1317e1151bf6eaffe4d03e039293b899">push_back</a> () override</td></tr>
<tr class="memdesc:a1317e1151bf6eaffe4d03e039293b899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extend the number of elements by one. <br /></td></tr>
<tr class="separator:a1317e1151bf6eaffe4d03e039293b899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea8b42d5e94827335fc0bac4ea99f9ae"><td class="memItemLeft" align="right" valign="top"><a id="aea8b42d5e94827335fc0bac4ea99f9ae"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#aea8b42d5e94827335fc0bac4ea99f9ae">swap</a> (size_t _i0, size_t _i1) override</td></tr>
<tr class="memdesc:aea8b42d5e94827335fc0bac4ea99f9ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Let two elements swap their storage place. <br /></td></tr>
<tr class="separator:aea8b42d5e94827335fc0bac4ea99f9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42225f5a779dce58ad04fbcc3b7d3d59"><td class="memItemLeft" align="right" valign="top"><a id="a42225f5a779dce58ad04fbcc3b7d3d59"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a42225f5a779dce58ad04fbcc3b7d3d59">copy</a> (size_t _i0, size_t _i1) override</td></tr>
<tr class="memdesc:a42225f5a779dce58ad04fbcc3b7d3d59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy one element to another. <br /></td></tr>
<tr class="separator:a42225f5a779dce58ad04fbcc3b7d3d59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1769aa4f336856f94ea9fc4dc3e47e3d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a1769aa4f336856f94ea9fc4dc3e47e3d">set_persistent</a> (bool _yn) override</td></tr>
<tr class="memdesc:a1769aa4f336856f94ea9fc4dc3e47e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable persistency.  <a href="#a1769aa4f336856f94ea9fc4dc3e47e3d">More...</a><br /></td></tr>
<tr class="separator:a1769aa4f336856f94ea9fc4dc3e47e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9908899bbbc9cccc94fe2c4806385607"><td class="memItemLeft" align="right" valign="top"><a id="a9908899bbbc9cccc94fe2c4806385607"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a9908899bbbc9cccc94fe2c4806385607">n_elements</a> () const override</td></tr>
<tr class="memdesc:a9908899bbbc9cccc94fe2c4806385607"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements in property. <br /></td></tr>
<tr class="separator:a9908899bbbc9cccc94fe2c4806385607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ea88004f218b71857a437dbbcf4189"><td class="memItemLeft" align="right" valign="top"><a id="af7ea88004f218b71857a437dbbcf4189"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#af7ea88004f218b71857a437dbbcf4189">element_size</a> () const override</td></tr>
<tr class="memdesc:af7ea88004f218b71857a437dbbcf4189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of one element in bytes or UnknownSize if not known. <br /></td></tr>
<tr class="separator:af7ea88004f218b71857a437dbbcf4189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a923a90b006ce97891cac9a55ef91f685"><td class="memItemLeft" align="right" valign="top"><a id="a923a90b006ce97891cac9a55ef91f685"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a923a90b006ce97891cac9a55ef91f685">size_of</a> () const override</td></tr>
<tr class="memdesc:a923a90b006ce97891cac9a55ef91f685"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return size of property in bytes. <br /></td></tr>
<tr class="separator:a923a90b006ce97891cac9a55ef91f685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80cd555d7b09b6ede1e00bdc325a7d4"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#aa80cd555d7b09b6ede1e00bdc325a7d4">size_of</a> (size_t _n_elem) const override</td></tr>
<tr class="memdesc:aa80cd555d7b09b6ede1e00bdc325a7d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Estimated size of property if it has _n_elem elements.  <a href="#aa80cd555d7b09b6ede1e00bdc325a7d4">More...</a><br /></td></tr>
<tr class="separator:aa80cd555d7b09b6ede1e00bdc325a7d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19e1834d604817c623249ac52c685d2"><td class="memItemLeft" align="right" valign="top"><a id="af19e1834d604817c623249ac52c685d2"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#af19e1834d604817c623249ac52c685d2">store</a> (std::ostream &amp;_ostr, bool) const override</td></tr>
<tr class="memdesc:af19e1834d604817c623249ac52c685d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Store self as one binary block. <br /></td></tr>
<tr class="separator:af19e1834d604817c623249ac52c685d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a672cdeda99942048481f23299d06af61"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a672cdeda99942048481f23299d06af61">restore</a> (std::istream &amp;_istr, bool) override</td></tr>
<tr class="memdesc:a672cdeda99942048481f23299d06af61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restore self from a binary block.  <a href="#a672cdeda99942048481f23299d06af61">More...</a><br /></td></tr>
<tr class="separator:a672cdeda99942048481f23299d06af61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3410cc28e92d32be24a56f48e5d9679e"><td class="memItemLeft" align="right" valign="top"><a id="a3410cc28e92d32be24a56f48e5d9679e"></a>
vector_type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a3410cc28e92d32be24a56f48e5d9679e">data_vector</a> ()</td></tr>
<tr class="memdesc:a3410cc28e92d32be24a56f48e5d9679e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get reference to property vector (be careful, improper usage, e.g. resizing, may crash OpenMesh!!!) <br /></td></tr>
<tr class="separator:a3410cc28e92d32be24a56f48e5d9679e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb232124fd12c10c4713f7ce19724648"><td class="memItemLeft" align="right" valign="top"><a id="aeb232124fd12c10c4713f7ce19724648"></a>
const vector_type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#aeb232124fd12c10c4713f7ce19724648">data_vector</a> () const</td></tr>
<tr class="memdesc:aeb232124fd12c10c4713f7ce19724648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const access to property vector. <br /></td></tr>
<tr class="separator:aeb232124fd12c10c4713f7ce19724648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26861d26da93031960c7280b7bc32774"><td class="memItemLeft" align="right" valign="top"><a id="a26861d26da93031960c7280b7bc32774"></a>
reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a26861d26da93031960c7280b7bc32774">operator[]</a> (int _idx)</td></tr>
<tr class="memdesc:a26861d26da93031960c7280b7bc32774"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the i'th element. No range check is performed! <br /></td></tr>
<tr class="separator:a26861d26da93031960c7280b7bc32774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a667c44463226dc6a93e19f5883648d49"><td class="memItemLeft" align="right" valign="top"><a id="a667c44463226dc6a93e19f5883648d49"></a>
const_reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a667c44463226dc6a93e19f5883648d49">operator[]</a> (int _idx) const</td></tr>
<tr class="memdesc:a667c44463226dc6a93e19f5883648d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const access to the i'th element. No range check is performed! <br /></td></tr>
<tr class="separator:a667c44463226dc6a93e19f5883648d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95f357f2c2b076c7c1473ad315aaa328"><td class="memItemLeft" align="right" valign="top"><a id="a95f357f2c2b076c7c1473ad315aaa328"></a>
<a class="el" href="a02537.html">PropertyT</a>&lt; bool &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02541.html#a95f357f2c2b076c7c1473ad315aaa328">clone</a> () const override</td></tr>
<tr class="memdesc:a95f357f2c2b076c7c1473ad315aaa328"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a copy of self. <br /></td></tr>
<tr class="separator:a95f357f2c2b076c7c1473ad315aaa328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_a02497"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a02497')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a02497.html">OpenMesh::BaseProperty</a></td></tr>
<tr class="memitem:a2cb84fe2bfd412c79ecf76ea95b857e2 inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a2cb84fe2bfd412c79ecf76ea95b857e2">BaseProperty</a> (const std::string &amp;_name=&quot;&lt;unknown&gt;&quot;, const std::string &amp;_internal_type_name=&quot;&lt;unknown&gt;&quot;)</td></tr>
<tr class="memdesc:a2cb84fe2bfd412c79ecf76ea95b857e2 inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="a02497.html#a2cb84fe2bfd412c79ecf76ea95b857e2">More...</a><br /></td></tr>
<tr class="separator:a2cb84fe2bfd412c79ecf76ea95b857e2 inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9301f986c88572a20649f8743bfac6ac inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a9301f986c88572a20649f8743bfac6ac"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a9301f986c88572a20649f8743bfac6ac">BaseProperty</a> (const <a class="el" href="a02497.html">BaseProperty</a> &amp;_rhs)</td></tr>
<tr class="memdesc:a9301f986c88572a20649f8743bfac6ac inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a9301f986c88572a20649f8743bfac6ac inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3c0dbc83c42199de5722a5812c5a12b inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="aa3c0dbc83c42199de5722a5812c5a12b"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#aa3c0dbc83c42199de5722a5812c5a12b">~BaseProperty</a> ()</td></tr>
<tr class="memdesc:aa3c0dbc83c42199de5722a5812c5a12b inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa3c0dbc83c42199de5722a5812c5a12b inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a529c57d1514c7c0370f1c742d166bf9c inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a529c57d1514c7c0370f1c742d166bf9c"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a529c57d1514c7c0370f1c742d166bf9c">name</a> () const</td></tr>
<tr class="memdesc:a529c57d1514c7c0370f1c742d166bf9c inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the property. <br /></td></tr>
<tr class="separator:a529c57d1514c7c0370f1c742d166bf9c inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43ce9ccb954afe566e271c7f99a03285 inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a43ce9ccb954afe566e271c7f99a03285"></a>
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a43ce9ccb954afe566e271c7f99a03285">internal_type_name</a> () const</td></tr>
<tr class="memdesc:a43ce9ccb954afe566e271c7f99a03285 inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return internal type name of the property for type safe casting alternative to runtime information. <br /></td></tr>
<tr class="separator:a43ce9ccb954afe566e271c7f99a03285 inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9145372391f82daf963fcd2b13d32515 inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a9145372391f82daf963fcd2b13d32515"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>stats</b> (std::ostream &amp;_ostr) const</td></tr>
<tr class="separator:a9145372391f82daf963fcd2b13d32515 inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6221bd81f75bc0dfd10c934fb25467eb inherit pub_methods_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a6221bd81f75bc0dfd10c934fb25467eb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a6221bd81f75bc0dfd10c934fb25467eb">persistent</a> (void) const</td></tr>
<tr class="memdesc:a6221bd81f75bc0dfd10c934fb25467eb inherit pub_methods_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the persistent flag is enabled else false. <br /></td></tr>
<tr class="separator:a6221bd81f75bc0dfd10c934fb25467eb inherit pub_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_attribs_a02497"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_a02497')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="a02497.html">OpenMesh::BaseProperty</a></td></tr>
<tr class="memitem:a3dbccc1d0ac8f9a0ba27c46f2fe58414 inherit pub_static_attribs_a02497"><td class="memItemLeft" align="right" valign="top"><a id="a3dbccc1d0ac8f9a0ba27c46f2fe58414"></a>
static const size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02497.html#a3dbccc1d0ac8f9a0ba27c46f2fe58414">UnknownSize</a> = size_t(-1)</td></tr>
<tr class="memdesc:a3dbccc1d0ac8f9a0ba27c46f2fe58414 inherit pub_static_attribs_a02497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates an error when a size is returned by a member. <br /></td></tr>
<tr class="separator:a3dbccc1d0ac8f9a0ba27c46f2fe58414 inherit pub_static_attribs_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_a02497"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_a02497')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="a02497.html">OpenMesh::BaseProperty</a></td></tr>
<tr class="memitem:ace9460aa7a6d1b044661a25dea831259 inherit pro_methods_a02497"><td class="memTemplParams" colspan="2"><a id="ace9460aa7a6d1b044661a25dea831259"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ace9460aa7a6d1b044661a25dea831259 inherit pro_methods_a02497"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>check_and_set_persistent</b> (bool _yn)</td></tr>
<tr class="separator:ace9460aa7a6d1b044661a25dea831259 inherit pro_methods_a02497"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;&gt;<br />
class OpenMesh::PropertyT&lt; bool &gt;</h3>

<p>Property specialization for bool type. </p>
<p>The data will be stored as a bitset. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a672cdeda99942048481f23299d06af61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a672cdeda99942048481f23299d06af61">&#9670;&nbsp;</a></span>restore()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a02537.html">OpenMesh::PropertyT</a>&lt; bool &gt;::restore </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>_istr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_swap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Restore self from a binary block. </p>
<p>Uses <a class="el" href="a02541.html#abf51db1f5e7d2b240b7c462c007d143e" title="Reserve memory for n elements. ">reserve()</a> to set the size of self before restoring. </p>

<p>Implements <a class="el" href="a02497.html#a0eb66e2547283ca989179d508fbbed87">OpenMesh::BaseProperty</a>.</p>

</div>
</div>
<a id="a1769aa4f336856f94ea9fc4dc3e47e3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1769aa4f336856f94ea9fc4dc3e47e3d">&#9670;&nbsp;</a></span>set_persistent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="a02537.html">OpenMesh::PropertyT</a>&lt; bool &gt;::set_persistent </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_yn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable or disable persistency. </p>
<p>Self must be a named property to enable persistency. </p>

<p>Implements <a class="el" href="a02497.html#aeac2109212f8489104137a03ffee3962">OpenMesh::BaseProperty</a>.</p>

</div>
</div>
<a id="aa80cd555d7b09b6ede1e00bdc325a7d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa80cd555d7b09b6ede1e00bdc325a7d4">&#9670;&nbsp;</a></span>size_of()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t <a class="el" href="a02537.html">OpenMesh::PropertyT</a>&lt; bool &gt;::size_of </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>_n_elem</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Estimated size of property if it has _n_elem elements. </p>
<p>The member returns UnknownSize if the size cannot be estimated. </p>

<p>Reimplemented from <a class="el" href="a02497.html#ac13fe04403a9062dff6988b5aadee639">OpenMesh::BaseProperty</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>OpenMesh/Core/Utils/<a class="el" href="a00476_source.html">Property.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
